Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext

SOLVED How to grab a value from a VBScript and put it on a form
~Kirk Nimweplopoopsi 4.Dec.03 04:43 PM a Web browser
Domino Designer 6.0.1 CF2 Windows XP


I have this code on the form as passthru html

<SCRIPT LANGUAGE="VBScript">
Set wshShell = CreateObject("WScript.Shell")
strUser = wshShell.ExpandEnvironmentStrings("%USERNAME%")
document.forms(0).winXpUsername.value=strUser
strComputer = wshShell.ExpandEnvironmentStrings("%COMPUTERNAME%")
document.forms(0).winXpComputerName.value=strComputer
strServer = wshShell.ExpandEnvironmentStrings("%LOGONSERVER%")
document.forms(0).winXpServerName.value=strServer
</SCRIPT>




How to grab a value from a VBScript... (~Kirk Nimweplop... 4.Dec.03)
. . SOLVED How to grab a value from a V... (~Kirk Nimweplop... 4.Dec.03)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS